package com.zpark.cloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
// 开启服务注册发现
@EnableEurekaClient
// 开启feign
@EnableFeignClients
public class OpenFeginApplication {
    public static void main(String[] args) {
        SpringApplication.run(OpenFeginApplication.class, args);
    }
}
